<!--
 * @Author: Dorange.Wang
 * @Date: 2021-07-14 11:06:32
 * @LastEditors: your name
 * @LastEditTime: 2021-07-14 11:16:08
 * @Description: file content
-->
<template>
  <van-collapse v-model="activeNames" :border="false">
    <van-collapse-item name="1">
      <template #title>
        <div>{{ instance.__config.title }}</div>
      </template>
      <slot />
    </van-collapse-item>
  </van-collapse>
</template>

<script>
import { widgetMixin } from "../mixin";
export default {
  name: "HanCollapse",
  mixins: [widgetMixin],
  data() {
    return {
      activeNames: ["1"],
    };
  },
};
</script>

<style></style>
